<?php
class TestWidget extends Widget{
    public function render($data){
        // code...
        $html = $this->renderFile("show",$data);
        return $html;
    }
}